package com.example.certificate.dto.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@ApiModel(value = "根据id删除")
public class DelByIdDto implements Serializable {

    @ApiModelProperty(value = "id")
    @NotBlank(message = "id不能为空", groups = {delDataById.class})
    private String id;

    public interface delDataById{}

}
